package com.ruoyi.system.domain.zhuangxiumain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.domain.zhuangxiumain.orderformMain.OrderCommentPicture;
import lombok.*;

import java.util.Date;
import java.util.List;

/**
 * Created by 惠普 on 2020/12/29 14:47
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OrderCommentVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    //用户的头像
    private String customerHandImage;
    //用户的昵称
    private String customerNickName;
    //评价发布时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderCommentApplicationTime;
    //评价的级别
    private Integer orderCommentLevel;
    //评价的内容
    private String orderCommentContent;
    //评价的图片
    private Integer orderCommentPicture;
    //商品的id
    private Integer productId;
    //商品的规格
    private String labelName;
    //商品的单位
    private String labelUnit;
    //商品的颜色
    private String labelColorType;
    //商品的图片
    private String picUrl;
    //商品的价格
    private Double paymentMoney;
    //用户id
    private Integer customerId;
    //评论的图片
    @TableField(exist = false)
    private List<OrderCommentPicture> orderCommentPictureList;

}
